dhcpv6-ia: respect prefix assigned to interface (>= /64)
authorMatthias Riegler <[email protected]>
Mon, 12 Jun 2023 19:01:08 +0000 (21:01 +0200)
committerÁlvaro Fernández Rojas <[email protected]>
Wed, 22 Oct 2025 14:05:57 +0000 (16:05 +0200)
commit7000557cd8f6396b82cb35e0cdf9b72b18288fbc
treef5416ad24194a92ce38f7f93d12be812deb3e1ff
parente1e60601ffeb8ef68c82bc349ab16a9633715da5
dhcpv6-ia: respect prefix assigned to interface (>= /64)

When odhcpd hands out DHCPv6 leases on an interface with a prefix >= /64
(e.g. /96), leases can be outside of the allocated /96 on the interface.
Fixes https://github.com/openwrt/odhcpd/issues/199.

Signed-off-by: Matthias Riegler <[email protected]>
Link: https://github.com/openwrt/odhcpd/pull/219
Signed-off-by: Álvaro Fernández Rojas <[email protected]>
src/dhcpv6-ia.c